package com.open.capacity.finance.dao;

import com.open.capacity.finance.dto.audit_model_27.AuditModelStep2;
import com.open.capacity.finance.entity.SourcePz;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 党费序时账
 *
 * @author
 * @email
 * @date 2023-01-31 16:45:00
 */
@Mapper
public interface SourcePzPartyDao {

    int save(SourcePz sourcePz);

    int deleteAll();

    int deleteByCompanyIdAndKjnd(@Param("companyId") String companyId, @Param("kjnd")Integer kjnd);

    SourcePz findById(String id);

    List<SourcePz> findAll(Map<String, Object> params);

    List<AuditModelStep2> getMonthData(Map<String, Object> params);

    List<SourcePz> groupByExt3(Map<String, Object> params);

}
